<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link th:href="@{/uploadeFile/css/common.css}"  rel="stylesheet"/>
<link  th:href="@{/uploadeFile/css/index.css}"  rel="stylesheet"/>
<script src="http://gosspublic.alicdn.com/aliyun-oss-sdk-4.4.4.min.js"></script>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-wqEweiShopMember-edit" th:object="${wqEweiShopMember}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">用户ID号：</label>
                <div class="col-sm-8">
                    <input id="openid" name="openid" th:field="*{openid}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">用户名：</label>
                <div class="col-sm-8">
                    <input id="username" name="username" th:field="*{username}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">手机号：</label>
                <div class="col-sm-8">
                    <input id="mobile" name="mobile" th:field="*{mobile}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
          <!--  <div class="form-group">
                <label class="col-sm-3 control-label">密码：</label>
                <div class="col-sm-8">
                    <input id="pwd" name="pwd" th:field="*{pwd}" class="form-control" type="text">
                </div>
            </div>-->
            <div class="form-group">
                <label class="col-sm-3 control-label">签名：</label>
                <div class="col-sm-8">
                    <input id="content" name="content" th:field="*{content}" class="form-control" type="text" readonly="readonly" text-overflow="ellipsis">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">出生年：</label>
                <div class="col-sm-8">
                    <input id="birthyear" name="birthyear" th:field="*{birthyear}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">出生月：</label>
                <div class="col-sm-8">
                    <input id="birthmonth" name="birthmonth" th:field="*{birthmonth}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">出生日：</label>
                <div class="col-sm-8">
                    <input id="birthday" name="birthday" th:field="*{birthday}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">性别：</label>
                <!--<div class="col-sm-8">
                    <input id="gender" name="gender" th:field="*{gender}" class="form-control" type="text">
                </div>-->
                <div class="col-sm-8">
                    <select id="gender" class="form-control m-b" th:with="type=${@dict.getType('sj_sex')}">
                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" readonly="readonly"></option>
                    </select>
                </div>
            </div>

            <div class="form-group">	
                <label class="col-sm-3 control-label">省：</label>
                <div class="col-sm-8">
                    <input id="province" name="province" th:field="*{province}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">市：</label>
                <div class="col-sm-8">
                    <input id="city" name="city" th:field="*{city}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">区：</label>
                <div class="col-sm-8">
                    <input id="area" name="area" th:field="*{area}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
           <!-- <div class="form-group">
                <label class="col-sm-3 control-label">邀请人：</label>
                <div class="col-sm-8">
                    <input id="inviter" name="inviter" th:field="*{inviter}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>-->
            <div class="form-group">
                <label class="col-sm-3 control-label">黑名单：</label>
                <div class="col-sm-8">
                    <input id="isblack" name="isblack" th:field="*{isblack}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">头像：</label>
                <div class="col-sm-8">
                    <section class=" img-section" data-limit="5">
                        <input type="hidden" id="photo" name="avatar" class="getvalue" value="">
                        <!--<p class="up-p"><span class="up-span">头像：</span></p>-->
                        <div class="z_photo upimg-div clear" >
                            <section class="z_file fl">
                                <img th:src="@{/uploadeFile/img/a11.png}"  class="add-img">
                                <input type="file" name="file" id="file" class="file" value="" accept="*" readonly="readonly" multiple />
                            </section>
                        </div>
                    </section>
                </div>
            </div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "sj/wqEweiShopMember"
		$("#form-wqEweiShopMember-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-wqEweiShopMember-edit').serialize());
	        }
	    }
	</script>
    <script  th:src="@{/uploadeFile/js/imgUp.js}"></script>
</body>
</html>
